﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     
        <div>
            <asp:Label ID="Label3" runat="server" Text="空气质量:"></asp:Label>
            <asp:Label ID="lbl_konqi" runat="server" Text="Label"></asp:Label><br />
            <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>


            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"></asp:ScriptManagerProxy>
            <asp:Label ID="Label1" runat="server" Text="1"></asp:Label>.
        <asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="3000"></asp:Timer>

     
        <asp:Chart ID="Chart1" runat="server">
            <Titles>
                <asp:Title Text="统计图"></asp:Title>
            </Titles>
            <Series>
                <asp:Series Name="Series1" ChartType="Line"></asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1"></asp:ChartArea>
            </ChartAreas>
        </asp:Chart><br />
            <asp:Button ID="Button1" runat="server" Text="灯光一开" OnClick="Button1_Click" />
             <asp:Button ID="Button2" runat="server" Text="灯光二开" OnClick="Button2_Click" />
        </div>



    </form>
</body>
</html>
